import 'package:flutter_screenutil/screenutil.dart';
import 'package:flutter/material.dart';
import 'package:heyangkuaidai/DemonStrateModule/Components/NavigationBar.dart';
class SubscribeResultPage extends StatefulWidget {
  @override
  _SubscribeResultPageState createState() => _SubscribeResultPageState();
}

class _SubscribeResultPageState extends State<SubscribeResultPage> {
  @override
  Widget build(BuildContext context) {
    ScreenUtil.init(context, width: 375, height: 667, allowFontScaling: true);
    return Scaffold(
      resizeToAvoidBottomInset: false,
      body: Column(
        children: [
          SizedBox(height: MediaQuery.of(context).padding.top,),
          NavigationBar(false,title: "贷款预约",),
          SizedBox(height: ScreenUtil().setWidth(42),),
          Container(
            width: ScreenUtil().setWidth(120),
            height: ScreenUtil().setWidth(85),
            child: Image.asset("sources/yy/repaySuccess.png"),
          ),
          SizedBox(height: ScreenUtil().setWidth(29),),
          Container(
            width: ScreenUtil().setWidth(180),
            child:Text("恭喜您预约成功！",style: TextStyle(fontSize: ScreenUtil().setSp(20),),textAlign: TextAlign.center,),
          ),

          SizedBox(height: ScreenUtil().setWidth(19),),
          Container(
            width: ScreenUtil().setWidth(314),
            child:Text("将有客户经理与您联系，请您耐心等待",style: TextStyle(fontSize: ScreenUtil().setSp(15),),textAlign: TextAlign.center,),
          ),
          SizedBox(height: ScreenUtil().setWidth(50),),
          InkWell(
            child: Container(
                decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(4),
                  color:Color(0xff41A5EE),
                ),
                width: ScreenUtil().setWidth(347),
                height: ScreenUtil().setWidth(44),
                child:Center(
                  child: Text("我知道了",style: TextStyle(fontSize: ScreenUtil().setSp(17),color: Colors.white),textAlign: TextAlign.center,),
                )
            ) ,
          )
        ],

      ),

    );
  }
}

